package com.unittec.zk.sdk.auth.domain;

import java.io.Serializable;

import com.unittec.zk.sdk.root.domain.DomainRoot;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author CopySun
 * @date 2020/8/10 14:04
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ImportTaskDto extends DomainRoot implements Serializable {
    private static final long serialVersionUID = 3793001377478254253L;

    @ApiModelProperty(value = "总条数")
    private Integer total;
    @ApiModelProperty(value = "处理状态0: 待处理，1：处理中，2：处理完成，3：处理失败")
    private String status;
    @ApiModelProperty(value = "导入文件path")
    private String filePath;
    @ApiModelProperty(value = "导入文件key")
    private String fileKey;
    @ApiModelProperty(value = "导入返回结果文件key")
    private String resultFilePath;
    @ApiModelProperty(value = "成功条数")
    private int successNum;
    private String remark;
    private String companyId;
    private String consumer;
    @ApiModelProperty(value = "导入类型")
    private String type;
    private String originalFileName;
    private Integer lastRowIndex;
    @ApiModelProperty(value = "失败条数")
    private Integer failNum;
    @ApiModelProperty(value = "导入返回结果文件url")
    private String url;
}
